package pl.edu.mimuw.irs.rcp.controller.editor.input;

import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IPersistableElement;

import pl.edu.mimuw.irs.core.model.analysis.Report;

public class ReportEditorInput implements IEditorInput {

	// *** Attributes

	private Report report;
	public Report getReport() {
		return report;
	}
	
	// *** Constructors
	
	public ReportEditorInput(Report report) {
		this.report = report;
	}
	
	// *** Methods

	@Override
	public boolean exists() {
		return false;
	}

	@Override
	public ImageDescriptor getImageDescriptor() {
		return null;
	}

	@Override
	public String getName() {
		// XXX Auto-generated method stub
		return "Report Editor";
	}

	@Override
	public IPersistableElement getPersistable() {
		return null;
	}

	@Override
	public String getToolTipText() {
		// XXX Auto-generated method stub
		return "Report Editor";
	}

	@SuppressWarnings("unchecked")
	@Override
	public Object getAdapter(Class adapter) {
		// XXX Auto-generated method stub
		return null;
	}

}
